import  Mock from "mockjs";

import homeApi from './mockData/home.js'

import userApi from './mockData/user.js'

// 拦截首页数据请求
Mock.mock(/home\/getTableData/, homeApi.getHomeData)
// 拦截用户数据请求
Mock.mock(/user\/getUser/, userApi.getUserList)
